<include file="public+header" />

   <!-- 标题  -->
   <div class="title"><lang>域名解析列表</lang></div>

   <!-- 工具条  -->
   <div class="toolbar">
      <!--  功能操作区域  -->
      <div class="operate left" >
	      <input type="button" name="add" value="<lang>新增</lang>" onclick="add()" class="add button">
          <input type="button" name="delete" value="<lang>删除</lang>" onclick="foreverdel()" class="delete button">
      </div>
      <!-- 查询区域 -->
      <div class="right search_form">
         <form method='post' action="__ACTION__">
            <div class="left">
			   <input type="text" name="domain_name" title="<lang>域名</lang>" class="field" >
               <input type="submit" id="" name="search" value="<lang>查询</lang>" onclick="" class="search button">
			</div>
        </form>
     </div>
  </div>

  <!-- 清除浮动 -->
  <span class="clear"></span>

  <!-- 正文 -->
  <div id="content" class="content">

      <table class="data full" id="checkList">
        <thead>
         <tr>
          <th width="5px"><input type="checkbox" onclick="checkAll('checkList')"></th>
          <th><a href="javascript:sortBy('domain_id','{$sSortByUrl}')" title="<lang>按照编号</lang>{$sSortByDescription}<lang>排列</lang> "><lang>编号</lang></a></th>
          <th><a href="javascript:sortBy('domain_name','{$sSortByUrl}')" title="<lang>按照域名</lang>{$sSortByDescription}<lang>排列</lang> "><lang>域名</lang></a></th>
		  <th><a href="javascript:sortBy('domain_ip','{$sSortByUrl}')" title="<lang>按照Ip</lang>{$sSortByDescription}<lang>排列</lang> "><lang>IP</lang></a></th>
          </tr>
          </thead>
          <tbody>
          <foreach for=arrList>
           <tr>
            <td><input type="checkbox" name="key"	value="{$value['domain_id']}"></td>
            <td>{$value['domain_id']}</td>
            <td class="pointer" title="<lang>点击修改数据</lang>" id="domain_name_{$value['domain_id']}" onClick="clickToInput('domain_name','{$value['domain_id']}')">{$value['domain_name']}</td>
            <td class="pointer" title="<lang>点击修改数据</lang>" id="domain_ip_{$value['domain_id']}" onClick="clickToInput('domain_ip','{$value['domain_id']}')">{$value['domain_ip']}</td>
          </tr>
          </foreach>
        </tbody>
        </table>

		<!-- 工具条  -->
		<div class="toolbar">
		   <!--  功能操作区域  -->
           <div class="operate" >
              <input type="button" name="add" value="<lang>新增</lang>" onclick="add()" class="add button">
              <input type="button" name="delete" value="<lang>删除</lang>" onclick="foreverdel()" class="delete button">
           </div>
	    </div>

		<!-- 分页条  -->
		{$sPageNavbar}

   </div>
   <!-- end content -->

<include file="public+footer">